let code = (value, length = 4) => {
	if (value.length != length || typeof value != 'string') {return false;}
	let values = value.split('');
	for(var i = 0; i < values.length; i++){
		if (Number(values[i]) != values[i]) { return false; }
	}
	return true;
}
export default code